import React, { PureComponent } from 'react'
import { Carousel, Card } from 'antd';
import './ui.less'
export default class Carousels extends PureComponent {
  render () {
    return (
      <div>
        <Card title="轮播">
          <Carousel autoplay effect="fade">
            <div>
              <img src="/carousel-img/carousel-1.jpg" alt="" />
            </div>
            <div>
              <img src="/carousel-img/carousel-2.jpg" alt="" />
            </div>
            <div>
              <img src="/carousel-img/carousel-3.jpg" alt="" />
            </div>
          </Carousel>
        </Card>

      </div>
    )
  }
}
